home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / RSG.z / RSG
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4. ____RRRRSSSSGGGG((((3333FFFF))))                                                              ____RRRRSSSSGGGG((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      RSG, SRSG  -  EISPACK routine.  This subroutine calls the recommended
  10.      sequence of subroutines from the eigensystem subroutine package (EISPACK)
  11.      to find the eigenvalues and eigenvectors (if desired) for the REAL
  12.      SYMMETRIC generalized eigenproblem  Ax = (LAMBDA)Bx.
  13.  
  14.  
  15. SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
  16.           ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee  rrrrssssgggg((((nnnnmmmm,,,, nnnn,,,, aaaa,,,, bbbb,,,, wwww,,,, mmmmaaaattttzzzz,,,, zzzz,,,, ffffvvvv1111,,,, ffffvvvv2222,,,, iiiieeeerrrrrrrr))))
  17.           iiiinnnntttteeeeggggeeeerrrr          nnnnmmmm,,,, nnnn,,,, mmmmaaaattttzzzz,,,, iiiieeeerrrrrrrr
  18.           ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn aaaa((((nnnnmmmm,,,,nnnn)))),,,,bbbb((((nnnnmmmm,,,,nnnn)))),,,,wwww((((nnnn)))),,,,zzzz((((nnnnmmmm,,,,nnnn)))),,,,ffffvvvv1111((((nnnn)))),,,,ffffvvvv2222((((nnnn))))
  19.  
  20.           ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssrrrrssssgggg((((nnnnmmmm,,,, nnnn,,,, aaaa,,,, bbbb,,,, wwww,,,, mmmmaaaattttzzzz,,,, zzzz,,,, ffffvvvv1111,,,, ffffvvvv2222,,,, iiiieeeerrrrrrrr))))
  21.           iiiinnnntttteeeeggggeeeerrrr          nnnnmmmm,,,, nnnn,,,, mmmmaaaattttzzzz,,,, iiiieeeerrrrrrrr
  22.           rrrreeeeaaaallll             aaaa((((nnnnmmmm,,,,nnnn)))),,,,bbbb((((nnnnmmmm,,,,nnnn)))),,,,wwww((((nnnn)))),,,,zzzz((((nnnnmmmm,,,,nnnn)))),,,,ffffvvvv1111((((nnnn)))),,,,ffffvvvv2222((((nnnn))))
  23.  
  24.  
  25.  
  26. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  27.      On Input
  28.  
  29.      NNNNMMMM must be set to the row dimension of the two-dimensional array
  30.      parameters as declared in the calling program dimension statement.
  31.  
  32.      NNNN is the order of the matrices  A  and  B.
  33.  
  34.      AAAA contains a real symmetric matrix.
  35.  
  36.      BBBB contains a positive definite real symmetric matrix.
  37.  
  38.      MMMMAAAATTTTZZZZ is an integer variable set equal to zero if only eigenvalues are
  39.      desired.  Otherwise it is set to any non-zero integer for both
  40.      eigenvalues and eigenvectors.  On Output
  41.  
  42.      WWWW contains the eigenvalues in ascending order.
  43.  
  44.      ZZZZ contains the eigenvectors if MATZ is not ZERO.
  45.  
  46.      IIIIEEEERRRRRRRR is an integer output variable set equal to an error completion code
  47.      described in section 2B of the documentation.  The normal completion code
  48.      is zero.
  49.  
  50.      FFFFVVVV1111 and  FV2  are temporary storage arrays. Questions and comments should
  51.      be directed to B. S. Garbow, APPLIED MATHEMATICS DIVISION, ARGONNE
  52.      NATIONAL LABORATORY
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.